//
//  CACsemDevErrLog.h
//  CareRing
//
//  Created  on 2025/5/21.
//  Only used for debug rings.
    

#import <Foundation/Foundation.h>
#import "CANalgProtocal.h"

NS_ASSUME_NONNULL_BEGIN

@interface CAnAlgDevErrLog : NSObject<CANalgProtocal>

@property(assign, nonatomic)NSUInteger timeStamp;
@property(strong, nonatomic)NSNumber * dataUuid;

@property(assign, nonatomic)uint16_t errorType;  //错误类型
@property(assign, nonatomic)uint16_t algorithmSwitch; // 算法开关
@property(assign, nonatomic)uint8_t measurmentMode; //测量模式
@property(assign, nonatomic)uint8_t sleepOrWake; //0x00 睡眠、0x01 苏醒

-(instancetype)initWith:(NSData *)data;

-(NSNumber *)dataTimeStamp;

@end

NS_ASSUME_NONNULL_END
